package com.mspbots.core.bot.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.core.DefaultBaseMapper;
import com.mspbots.core.bot.model.TenantBot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * com.mspbots.core.bot.mapper.TenantBotMapper
 *
 * @author Jason
 * @date 2019/12/20
 **/
@Mapper
public interface TenantBotMapper extends DefaultBaseMapper<TenantBot> {
    IPage<TenantBot> page(Page<TenantBot> page, @Param("query") TenantBot query);

    TenantBot info(@Param("query") TenantBot query);
}
